﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Model;
using BartonExtension;

namespace Backend
{
    public class DataSourcePool    
    {
        private static bool loaded = false;
        public static List<Brand> brands { get; set; }
        public static List<Catalog> catalogs { get; set; }
        public static List<Mall> malls { get; set; }
        public static List<NewStore> stores { get; set; }
        public static List<Activity> activities { get; set; }
        public static void InitPool()
        {
            if (loaded)
                return;
            brands = new List<Brand>();
            catalogs = new List<Catalog>();
            malls = new List<Mall>();
            stores = new List<NewStore>();
            activities = new List<Activity>();
            loaded = true;
        }
    }
}
